package com.sc.entity.table;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 *  表定义层。
 *
 * @author JoeZhou
 * @since 2024-09-11
 */
public class RoleMenuTableDef extends TableDef {

    /**
     * 
     */
    public static final RoleMenuTableDef ROLE_MENU = new RoleMenuTableDef();

    
    public final QueryColumn ID = new QueryColumn(this, "ID");

    
    public final QueryColumn INFO = new QueryColumn(this, "info");

    
    public final QueryColumn MENU_ID = new QueryColumn(this, "menu_id");

    
    public final QueryColumn ROLE_ID = new QueryColumn(this, "role_id");

    
    public final QueryColumn STATUS = new QueryColumn(this, "status");

    
    public final QueryColumn CREATED = new QueryColumn(this, "created");

    
    public final QueryColumn UPDATED = new QueryColumn(this, "updated");

    
    public final QueryColumn VERSION = new QueryColumn(this, "version");

    
    public final QueryColumn IS_DELETE = new QueryColumn(this, "is_delete");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段，不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, ROLE_ID, MENU_ID, STATUS, INFO, CREATED, UPDATED, VERSION};

    public RoleMenuTableDef() {
        super("study_club", "ems_role_menu");
    }

}
